package demo03;

import org.springframework.stereotype.Component;

@Component("winter")
public class Sweater implements Clothes {
    public void wear()
    {
        System.out.println("穿了毛衣");
    }

}
